generate a dropdown list from array data using razor .net mvc

132

generate a dropdown list from array data using razor .net mvc -

@Html.DropDownList("myList", ViewBag.myList as SelectList)

Comments

Submit
0 Comments